function main(params) {

    debugger;
    let treePanel = this.$$("tree_panel_1pokxy");
    let treeSelect = treePanel.$$getSelection();
    let unitId = treeSelect.selectedRows[0].data.ID;

}
